package com.rd.student.jiaji.class4.suyan.zrrd.day091;

public class People {
    private String name;
    private int age;
    public void setNme(String n){
        name=n;
    }
    public String getName(){
        return name;
    }
    public void setAge(int a){
        age=a;
    }
    public int getAge(){
        return age;
    }

    public static void main(String[] args) {
       People p=new People();
       p.setAge(20);
       p.setNme("张三");
        System.out.println(p.getName());
        System.out.println(p.getAge());

    }
}
